<div class="scan-box-tit">必传文件</div>
<div class="scan-box-con boxhere">
    
</div>
<script>

function getQueryString(name) { 
 var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 
 var r = window.location.search.substr(1).match(reg); 
 if (r != null) return unescape(r[2]); return null; 
} 



    $.get("/api/Auth/getdetailfiles?id="+getQueryString('id'),function(res){
        var con = "";
        $.each(res.result,function(k,v){
            var fileurl = `<a href=`+v.path.replace(/uploadfiles/,"files")+`>下载</a>`;
            con+= `<div class="scan-box-file">`+v.filename+`:`+fileurl+`</span></div>`;
        });

        $(".boxhere").html(con);
    },'Json');




</script>
